package com.atguigu.common.constant;

import lombok.Data;

public class ProductConstant {


    public enum StatusEnum{
        NEW_SPU(0,"新建"),SPU_UP(1,"商品上架"),SPU_DOWM(2,"商品下架");

        private int code;
        private String msg;

        StatusEnum(int code ,String message){
            this.code=code;
            this.msg=message;
        }
        public int getCode(){
            return code;
        }
        private String getMsg(){
            return msg;
        }

        }

}
